package cn.b.sky.mes.hr.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import cn.b.sky.common.model.ImeCommon;
/**
 * 
 * <strong>Title : PersonnelConfirm.java<br></strong>
 * <strong>Package : cn.b.sky.mes.hr.model<br></strong>
 * <strong>Description : </strong>人员报工实体类<br> 
 * <strong>Create on : 2016-4-21 下午2:35:03<br></strong>
 * <p>
 * @author JinQuan.Fu<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人|修改日期|修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class PersonnelConfirm extends ImeCommon {
  /**
   * ID
   */
  private Long id;
  /**
   * 职员编号
   */
  private String personnelCode;

  /**
   * 姓名
   */
  private String personnelName;
  /**
   * 工作中心编号
   */
  private String workCenterCode;
  /**
   * 工作中心文本
   */
  private String workCentertext;
  /**
   * 实际工作中心
   */
  private String shiftingWorkCenterCode;
  /**
   * 实际工作中心文本
   */
  private String shiftingWorkcenterText;
  /**
   * 报工时间
   */
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date confirmDatetime;
  /**
   * 物料编号
   */
  private String materialCode;
  /**
   * 物料描述， 页面展示
   */
  private String materialText;
  /**
   * 产量
   */
  private Double quantity;
  /**
   * 备注
   */
  private String memo;
  
  List<PersonnelConfirm> personnelConfirms=new ArrayList<>();
  
  public Long getId() {
    return id;
  }
  public void setId(Long id) {
    this.id = id;
  }
  public String getPersonnelCode() {
    return personnelCode;
  }
  public void setPersonnelCode(String personnelCode) {
    this.personnelCode = personnelCode;
  }
  public String getPersonnelName() {
    return personnelName;
  }
  public void setPersonnelName(String personnelName) {
    this.personnelName = personnelName;
  }
  public String getWorkCenterCode() {
    return workCenterCode;
  }
  public void setWorkCenterCode(String workCenterCode) {
    this.workCenterCode = workCenterCode;
  }
  public String getShiftingWorkCenterCode() {
    return shiftingWorkCenterCode;
  }
  public void setShiftingWorkCenterCode(String shiftingWorkCenterCode) {
    this.shiftingWorkCenterCode = shiftingWorkCenterCode;
  }
  public Date getConfirmDatetime() {
    return confirmDatetime;
  }
  public void setConfirmDatetime(Date confirmDatetime) {
    this.confirmDatetime = confirmDatetime;
  }
  public String getMaterialCode() {
    return materialCode;
  }
  public void setMaterialCode(String materialCode) {
    this.materialCode = materialCode;
  }
  public String getMaterialText() {
    return materialText;
  }
  public void setMaterialText(String materialText) {
    this.materialText = materialText;
  }
  public Double getQuantity() {
    return quantity;
  }
  public void setQuantity(Double quantity) {
    this.quantity = quantity;
  }
  public String getMemo() {
    return memo;
  }
  public void setMemo(String memo) {
    this.memo = memo;
  }
  public String getWorkCentertext() {
    return workCentertext;
  }
  public void setWorkCentertext(String workCentertext) {
    this.workCentertext = workCentertext;
  }
  public String getShiftingWorkcenterText() {
    return shiftingWorkcenterText;
  }
  public void setShiftingWorkcenterText(String shiftingWorkcenterText) {
    this.shiftingWorkcenterText = shiftingWorkcenterText;
  }
  public List<PersonnelConfirm> getPersonnelConfirms() {
    return personnelConfirms;
  }
  public void setPersonnelConfirms(List<PersonnelConfirm> personnelConfirms) {
    this.personnelConfirms = personnelConfirms;
  }
  
}
